<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Page-Enter" contect="revealTrans(duration=1.0,transtion=4)">
    <link rel="stylesheet" href="../css/common.css">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <title>收藏</title>
    <style type="text/css">
        .collect {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            width: 350px;
            height: 650px;
            border: 1px solid red;
        }
        
        .collect_box {
            width: 90%;
        }
        
        .collect .collect_title {
            font-size: 25px;
        }
        
        .collection_history {
            display: flex;
            justify-content: space-between;
        }
        
        .collection_history a {
            padding: 10px 20px;
            border-radius: 5px;
            border: 1px solid #eee;
        }
        
        .my_collection,
        .history {
            display: flex;
            align-items: center;
        }
        
        .my_collection .icon_collection,
        .history .icon_collection {
            font-size: 32px;
        }
        
        .my_collection .text,
        .history .text {
            margin-left: 10px;
            display: flex;
            flex-direction: column;
            font-size: 14px;
        }
        
        .my_collection .text span:nth-of-type(2),
        .history .text span:nth-of-type(2) {
            font-size: 12px;
            opacity: .7;
        }
        
        .collect_list .collect_row {
            padding: 10px 0;
            display: flex;
            justify-content: space-between;
            font-size: 14px;
        }
        
        .collect_list ul li a {
            display: flex;
        }
        
        ul li a .thumbnail {
            width: 100px;
            height: 100px;
        }
        
        ul li a .thumbnail img {
            display: flex;
            width: 100%;
        }
        
        .detail_text .address,
        .appraise_show {
            font-size: 12px;
        }
        
        .appraise_show {
            display: flex;
            justify-content: space-between;
        }
        
        .detail_text {
            flex: 1;
            margin-left: 10px;
        }
        
        .detail_text .title {
            flex-shrink: 0;
            /* 暂时处理 */
            width: 200px;
            /* display: flex; */
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .detail_text .title,
        .detail_text .price {
            font-size: 14px;
        }
    </style>
</head>

<body>
    <div class="collect">
        <div class="collect_box">
            <p class="collect_title">收藏</p>
            <div class="collection_history">
                <a class="my_collection">
                    <div class="icon_collection">
                        <i class="fa fa-folder-o" aria-hidden="true"></i>
                    </div>
                    <div class="text">
                        <span>我的集合</span>
                        <span>共1个</span>
                    </div>
                </a>
                <a class="history">
                    <div class="icon_collection">
                        <i class="fa fa-history" aria-hidden="true"></i>
                    </div>
                    <div class="text">
                        <span>历史足迹</span>
                        <span>最近浏览的房源</span>
                    </div>
                </a>
            </div>
            <div class="collect_list">
                <div class="collect_row">
                    <div class="total">2个房源</div>
                    <div class="share_edit">分享/编辑</div>
                </div>
                <ul>
                    <li>
                        <a href="detail.html">
                            <div class="thumbnail">
                                <img src="../imgs/room1.jpg" alt="房源1">
                            </div>
                            <div class="detail_text">
                                <div class="address">肇庆市</div>
                                <div class="title">阳光舒适齐全阳光舒适齐全阳光舒适齐全阳光舒适齐全阳光舒适齐全</div>
                                <div class="appraise_show">
                                    <div class="stars">
                                        <i class="fa fa-star" aria-hidden="true"></i>
                                        <i class="fa fa-star" aria-hidden="true"></i>
                                        <i class="fa fa-star" aria-hidden="true"></i>
                                        <i class="fa fa-star-half-o" aria-hidden="true"></i>
                                        <i class="fa fa-star-o" aria-hidden="true"></i>
                                    </div>
                                    <div class="appraise_number">99条评价</div>
                                    <div class="evaluate_landlord">较好房东</div>
                                </div>
                                <div class="price">
                                    ￥99/晚
                                </div>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a href="detail.html">
                            <div class="thumbnail">
                                <img src="../imgs/room1.jpg" alt="房源1">
                            </div>
                            <div class="detail_text">
                                <div class="address">肇庆市</div>
                                <div class="title">阳光舒适齐全阳光舒适齐全阳光舒适齐全阳光舒适齐全阳光舒适齐全</div>
                                <div class="appraise_show">
                                    <div class="stars">
                                        <i class="fa fa-star" aria-hidden="true"></i>
                                        <i class="fa fa-star" aria-hidden="true"></i>
                                        <i class="fa fa-star" aria-hidden="true"></i>
                                        <i class="fa fa-star-half-o" aria-hidden="true"></i>
                                        <i class="fa fa-star-o" aria-hidden="true"></i>
                                    </div>
                                    <div class="appraise_number">99条评价</div>
                                    <div class="evaluate_landlord">较好房东</div>
                                </div>
                                <div class="price">
                                    ￥99/晚
                                </div>
                            </div>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</body>

</html>